Crate cargo_toml
source ·Expand description
This crate defines struct
s that can be deserialized with Serde
to load and inspect Cargo.toml
metadata.
See Manifest::from_slice
.
Structs
- Deprecated
- The top-level
Cargo.toml
structure - You can replace
Metadata
type with your own to parse into something more useful than a generic tomlValue
- Cargo uses the term “target” for both “target platform” and “build target” (the thing to build), which makes it ambigous. Here Cargo’s bin/lib target is renamed to product.
Enums
- Readme of build.rs path
- Representation of a TOML value.